#ifndef WINRESTARTZIGBEECMD_H
#define WINRESTARTZIGBEECMD_H

#include "Command/BaseCmd.h"
#include "Protocol/PointProtocol.h"

class WinRestartZigbeeCmd : public BaseCmd
{
    Q_OBJECT
public:
    enum{FunctionCode = PointProtocol::ReStartZigbee};

    Q_INVOKABLE explicit WinRestartZigbeeCmd(QObject *parent = 0);

    Package toPackage();
    void unPackage(Package package);

    bool isSucceed() const;
    void setIsSucceed(bool isSucceed);

private:
    bool m_isSucceed;

};

#endif // WINRESTARTZIGBEECMD_H
